//==================================================================
//  Copyright (C) 2006  Davide Pasca
//
//  This library is free software; you can redistribute it and/or
//  modify it under the terms of the GNU Lesser General Public
//  License as published by the Free Software Foundation; either
//  version 2.1 of the License, or (at your option) any later version.
//
//  This library is distributed in the hope that it will be useful,
//  but WITHOUT ANY WARRANTY; without even the implied warranty of
//  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//  Lesser General Public License for more details.
//
//  You should have received a copy of the GNU Lesser General Public
//  License along with this library; if not, write to the Free Software
//  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
//==================================================================
///
///
///
///
//==================================================================

#include "pcapture_base.h"

//==================================================================
int	CaptureBase::FindDriverByName( const TCHAR *namep )
{
	for (int i=0; i < GetDriverN(); ++i)
		if ( !_tcsicmp( GetDriverName( i ), namep ) )
			return i;

	return -1;
}
/*
//==================================================================
int		CaptureBase::Setup( int dr_num, int w, int h, float fps, int flags )
{

}
int		CaptureBase::BeginCaptureSim(void)
{

}
void	CaptureBase::SuspendCaptureSim( int yesno )
{

}
int		CaptureBase::IsSuspended(void)
{

}
int		CaptureBase::CheckNextFrame(void)
{

}
void	CaptureBase::EndCapture(void)
{

}

int		CaptureBase::GetDriverN(void)
{

}
TCHAR	*CaptureBase::GetDriverName(int i)
{

}
TCHAR	*CaptureBase::GetDriverVersion(int i)
{

}

int		CaptureBase::FindDriverByName( const char *namep )
{

}

int		CaptureBase::rgb_buffer_get_width()
{

}
int		CaptureBase::rgb_buffer_get_height()
{

}

PError	CaptureBase::rgb_buffer_copy( u_char *dest_rgb_datap )
{

}

PError	CaptureBase::rgbraw_buffer_copy( u_char *dest_rgb_datap )
{

}
*/